home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
90%
| dexvert
| Hypertext Markup Language File (text/html)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| HTML document text
| default (weak)
| |
99%
| file
| LaTeX document text
| default
| |
98%
| file
| exported SGML document text
| default
| |
97%
| file
| C source text
| default
| |
96%
| file
| exported SGML document, ASCII text
| default
| |
80%
| TrID
| HyperText Markup Language with DOCTYPE
| default
| |
19%
| TrID
| HyperText Markup Language
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| gt2
| HTML (Hyper Text Markup Language) Datei
| default
| |
100%
| detectItEasy
| Format: Plain text[LF]
| default
| |
100%
| xdgMime
| text/html
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 43 68 | 61 6e 6e 65 6c 20 4c 69 |ts of Ch|annel Li|
|000000b0| 73 74 73 3c 2f 54 49 54 | 4c 45 3e 0a 0a 3c 4d 45 |sts</TIT|LE>..<ME|
|000000c0| 54 41 20 48 54 54 50 2d | 45 51 55 49 56 3d 22 43 |TA HTTP-|EQUIV="C|
|000000d0| 6f 6e 74 65 6e 74 2d 54 | 79 70 65 22 20 43 4f 4e |ontent-T|ype" CON|
|000000e0| 54 45 4e 54 3d 22 74 65 | 78 74 2f 68 74 6d 6c 3b |TENT="te|xt/html;|
|000000f0| 20 63 68 61 72 73 65 74 | 3d 75 74 66 2d 38 22 3e | charset|=utf-8">|
|00000100| 0a 3c 4d 45 54 41 20 4e | 41 4d 45 3d 22 76 69 65 |.<META N|AME="vie|
|00000110| 77 70 6f 72 74 22 20 43 | 4f 4e 54 45 4e 54 3d 22 |wport" C|ONTENT="|
|00000120| 77 69 64 74 68 3d 64 65 | 76 69 63 65 2d 77 69 64 |width=de|vice-wid|
|00000130| 74 68 2c 20 69 6e 69 74 | 69 61 6c 2d 73 63 61 6c |th, init|ial-scal|
|00000140| 65 3d 31 2e 30 22 3e 0a | 3c 4d 45 54 41 20 4e 41 |e=1.0">.|<META NA|
|00000150| 4d 45 3d 22 47 65 6e 65 | 72 61 74 6f 72 22 20 43 |ME="Gene|rator" C|
|00000160| 4f 4e 54 45 4e 54 3d 22 | 4c 61 54 65 58 32 48 54 |ONTENT="|LaTeX2HT|
|00000170| 4d 4c 20 76 32 30 32 32 | 22 3e 0a 0a 3c 4c 49 4e |ML v2022|">..<LIN|
|00000180| 4b 20 52 45 4c 3d 22 53 | 54 59 4c 45 53 48 45 45 |K REL="S|TYLESHEE|
|00000190| 54 22 20 48 52 45 46 3d | 22 76 6f 6c 75 6d 65 32 |T" HREF=|"volume2|
|000001a0| 2e 63 73 73 22 3e 0a 0a | 3c 4c 49 4e 4b 20 52 45 |.css">..|<LINK RE|
|000001b0| 4c 3d 22 6e 65 78 74 22 | 20 48 52 45 46 3d 22 6e |L="next"| HREF="n|
|000001c0| 6f 64 65 32 32 5f 6d 6e | 2e 68 74 6d 6c 22 3e 0a |ode22_mn|.html">.|
|000001d0| 3c 4c 49 4e 4b 20 52 45 | 4c 3d 22 70 72 65 76 69 |<LINK RE|L="previ|
|000001e0| 6f 75 73 22 20 48 52 45 | 46 3d 22 6e 6f 64 65 32 |ous" HRE|F="node2|
|000001f0| 30 5f 6d 6e 2e 68 74 6d | 6c 22 3e 0a 3c 4c 49 4e |0_mn.htm|l">.<LIN|
|00000200| 4b 20 52 45 4c 3d 22 75 | 70 22 20 48 52 45 46 3d |K REL="u|p" HREF=|
|00000210| 22 6e 6f 64 65 32 30 5f | 6d 6e 2e 68 74 6d 6c 22 |"node20_|mn.html"|
|00000220| 3e 0a 3c 4c 49 4e 4b 20 | 52 45 4c 3d 22 6e 65 78 |>.<LINK |REL="nex|
|00000230| 74 22 20 48 52 45 46 3d | 22 6e 6f 64 65 32 32 5f |t" HREF=|"node22_|
|00000240| 6d 6e 2e 68 74 6d 6c 22 | 3e 0a 3c 2f 48 45 41 44 |mn.html"|>.</HEAD|
|00000250| 3e 0a 20 0a 3c 42 4f 44 | 59 20 62 67 63 6f 6c 6f |>. .<BOD|Y bgcolo|
|00000260| 72 3d 22 23 66 66 66 66 | 66 66 22 20 74 65 78 74 |r="#ffff|ff" text|
|00000270| 3d 22 23 30 30 30 30 30 | 30 22 20 6c 69 6e 6b 3d |="#00000|0" link=|
|00000280| 22 23 39 39 34 34 45 45 | 22 20 76 6c 69 6e 6b 3d |"#9944EE|" vlink=|
|00000290| 22 23 30 30 30 30 66 66 | 22 20 61 6c 69 6e 6b 3d |"#0000ff|" alink=|
|000002a0| 22 23 30 30 66 66 30 30 | 22 3e 0a 0a 3c 48 33 3e |"#00ff00|">..<H3>|
|000002b0| 3c 41 20 49 44 3d 22 53 | 45 43 54 49 4f 4e 30 30 |<A ID="S|ECTION00|
|000002c0| 36 32 31 31 30 30 30 30 | 30 30 30 30 30 30 30 30 |62110000|00000000|
|000002d0| 30 30 22 3e 0a 43 68 61 | 6e 6e 65 6c 20 4c 69 73 |00">.Cha|nnel Lis|
|000002e0| 74 73 3c 2f 41 3e 0a 3c | 2f 48 33 3e 0a 0a 3c 50 |ts</A>.<|/H3>..<P|
|000002f0| 3e 0a 41 20 63 68 61 6e | 6e 65 6c 20 6c 69 73 74 |>.A chan|nel list|
|00000300| 20 69 73 20 74 68 65 20 | 73 74 72 75 63 74 75 72 | is the |structur|
|00000310| 65 20 75 73 65 64 20 74 | 6f 20 6b 65 65 70 20 63 |e used t|o keep c|
|00000320| 68 61 6e 6e 65 6c 73 20 | 61 6e 64 20 68 6f 73 74 |hannels |and host|
|00000330| 73 2e 20 49 74 20 69 73 | 0a 64 65 66 69 6e 65 64 |s. It is|.defined|
|00000340| 20 69 6e 20 66 69 6c 65 | 20 6c 69 73 74 5f 72 63 | in file| list_rc|
|00000350| 68 61 6e 2e 68 20 61 6e | 64 20 74 68 65 20 73 74 |han.h an|d the st|
|00000360| 72 75 63 74 75 72 65 20 | 69 73 20 73 68 6f 77 6e |ructure |is shown|
|00000370| 20 69 6e 0a 46 69 67 75 | 72 65 26 6e 62 73 70 3b | in.Figu|re |
|00000380| 3c 41 20 48 52 45 46 3d | 22 23 72 63 68 61 6e 3a |<A HREF=|"#rchan:|
|00000390| 73 74 72 75 63 74 22 20 | 54 41 52 47 45 54 3d 22 |struct" |TARGET="|
|000003a0| 5f 74 6f 70 22 3e 32 2e | 31 3c 2f 41 3e 0a 0a 3c |_top">2.|1</A>..<|
|000003b0| 50 3e 0a 5b 68 62 74 70 | 5d 72 63 68 61 6e 43 68 |P>.[hbtp|]rchanCh|
|000003c0| 61 6e 6e 65 6c 20 4c 69 | 73 74 20 53 74 72 75 63 |annel Li|st Struc|
|000003d0| 74 75 72 65 72 63 68 61 | 6e 3a 73 74 72 75 63 74 |turercha|n:struct|
|000003e0| 0a 3c 41 20 49 44 3d 22 | 34 31 35 22 3e 3c 2f 41 |.<A ID="|415"></A|
|000003f0| 3e 0a 0a 3c 50 3e 0a 54 | 68 65 20 75 73 65 20 6f |>..<P>.T|he use o|
|00000400| 66 20 74 68 65 20 73 74 | 72 75 63 74 75 72 65 20 |f the st|ructure |
|00000410| 6d 65 6d 62 65 72 73 20 | 61 72 65 3a 0a 3c 42 52 |members |are:.<BR|
|00000420| 3e 0a 3c 49 4d 47 0a 20 | 20 53 54 59 4c 45 3d 22 |>.<IMG. | STYLE="|
|00000430| 22 20 53 52 43 3d 22 69 | 6d 67 38 2e 70 6e 67 22 |" SRC="i|mg8.png"|
|00000440| 0a 20 41 4c 54 3d 22 5c | 62 65 67 69 6e 7b 64 65 |. ALT="\|begin{de|
|00000450| 73 63 72 69 62 65 7d 0a | 5c 69 74 65 6d 5b 5c 76 |scribe}.|\item[\v|
|00000460| 65 72 62 5c 76 65 72 74 | 20 6c 69 5c 5f 6d 74 61 |erb\vert| li\_mta|
|00000470| 5c 76 65 72 74 3a 5d 20 | 54 68 65 20 4d 54 41 20 |\vert:] |The MTA |
|00000480| 6e 61 6d 65 20 61 73 20 | 61 20 63 68 61 72 61 63 |name as |a charac|
|00000490| 74 65 72 20 73 74 72 2e | 2e 2e 0a 2e 2e 2e 64 2e |ter str.|......d.|
|000004a0| 0a 5c 69 74 65 6d 5b 5c | 76 65 72 62 5c 76 65 72 |.\item[\|verb\ver|
|000004b0| 74 20 6c 69 5c 5f 6e 65 | 78 74 5c 76 65 72 74 3a |t li\_ne|xt\vert:|
|000004c0| 5d 20 54 68 65 20 6e 65 | 78 74 20 65 6c 65 6d 65 |] The ne|xt eleme|
|000004d0| 6e 74 20 69 6e 20 74 68 | 65 20 6c 69 73 74 2e 0a |nt in th|e list..|
|000004e0| 5c 65 6e 64 7b 64 65 73 | 63 72 69 62 65 7d 22 3e |\end{des|cribe}">|
|000004f0| 0a 3c 42 52 3e 0a 0a 3c | 50 3e 0a 54 68 65 72 65 |.<BR>..<|P>.There|
|00000500| 20 61 72 65 20 73 65 76 | 65 72 61 6c 20 72 6f 75 | are sev|eral rou|
|00000510| 74 69 6e 65 73 20 74 6f | 20 6d 61 6e 69 70 75 6c |tines to| manipul|
|00000520| 61 74 65 20 73 75 63 68 | 20 73 74 72 75 63 74 75 |ate such| structu|
|00000530| 72 65 73 2e 0a 0a 3c 50 | 3e 0a 41 20 6e 65 77 20 |res...<P|>.A new |
|00000540| 6c 69 73 74 20 65 6c 65 | 6d 65 6e 74 20 63 61 6e |list ele|ment can|
|00000550| 20 62 65 20 63 72 65 61 | 74 65 64 20 62 79 20 75 | be crea|ted by u|
|00000560| 73 69 6e 67 20 74 68 65 | 20 72 6f 75 74 69 6e 65 |sing the| routine|
|00000570| 0a 3c 63 6f 64 65 3e 6c | 69 73 74 5f 72 63 68 61 |.<code>l|ist_rcha|
|00000580| 6e 5f 6e 65 77 3c 2f 63 | 6f 64 65 3e 2e 20 54 68 |n_new</c|ode>. Th|
|00000590| 69 73 20 69 73 20 64 65 | 66 69 6e 65 64 20 61 73 |is is de|fined as|
|000005a0| 3a 0a 3c 42 4c 4f 43 4b | 51 55 4f 54 45 3e 0a 3c |:.<BLOCK|QUOTE>.<|
|000005b0| 41 20 49 44 3d 22 34 31 | 39 22 3e 3c 2f 41 3e 3c |A ID="41|9"></A><|
|000005c0| 2f 42 4c 4f 43 4b 51 55 | 4f 54 45 3e 3c 50 52 45 |/BLOCKQU|OTE><PRE|
|000005d0| 3e 0a 4c 49 53 54 5f 52 | 43 48 41 4e 20 2a 6c 69 |>.LIST_R|CHAN *li|
|000005e0| 73 74 5f 72 63 68 61 6e | 5f 6e 65 77 20 28 6d 74 |st_rchan|_new (mt|
|000005f0| 61 2c 20 63 68 61 6e 29 | 0a 63 68 61 72 20 2a 6d |a, chan)|.char *m|
|00000600| 74 61 3b 0a 63 68 61 72 | 20 2a 63 68 61 6e 3b 0a |ta;.char| *chan;.|
|00000610| 3c 2f 50 52 45 3e 0a 54 | 68 65 20 70 61 72 61 6d |</PRE>.T|he param|
|00000620| 65 74 65 72 73 20 74 6f | 20 74 68 69 73 20 63 61 |eters to| this ca|
|00000630| 6c 6c 20 61 72 65 3a 0a | 3c 42 52 3e 0a 3c 49 4d |ll are:.|<BR>.<IM|
|00000640| 47 0a 20 20 53 54 59 4c | 45 3d 22 22 20 53 52 43 |G. STYL|E="" SRC|
|00000650| 3d 22 69 6d 67 39 2e 70 | 6e 67 22 0a 20 41 4c 54 |="img9.p|ng". ALT|
|00000660| 3d 22 5c 62 65 67 69 6e | 7b 64 65 73 63 72 69 62 |="\begin|{describ|
|00000670| 65 7d 0a 5c 69 74 65 6d | 5b 5c 76 65 72 62 5c 76 |e}.\item|[\verb\v|
|00000680| 65 72 74 20 6d 74 61 5c | 76 65 72 74 3a 5d 20 54 |ert mta\|vert:] T|
|00000690| 68 65 20 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 4d |he name |of the M|
|000006a0| 54 41 2e 20 54 68 69 73 | 20 70 61 72 61 6d 65 74 |TA. This| paramet|
|000006b0| 65 72 2e 2e 2e 0a 2e 2e | 2e 66 20 61 20 63 68 61 |er......|.f a cha|
|000006c0| 6e 6e 65 6c 2e 20 54 68 | 69 73 20 69 73 20 63 6f |nnel. Th|is is co|
|000006d0| 6e 76 65 72 74 65 64 20 | 74 6f 20 61 0a 63 68 61 |nverted |to a.cha|
|000006e0| 6e 6e 65 6c 20 73 74 72 | 75 63 74 75 72 65 20 69 |nnel str|ucture i|
|000006f0| 6e 74 65 72 6e 61 6c 6c | 79 2e 0a 5c 65 6e 64 7b |nternall|y..\end{|
|00000700| 64 65 73 63 72 69 62 65 | 7d 22 3e 0a 3c 42 52 3e |describe|}">.<BR>|
|00000710| 0a 0a 3c 50 3e 0a 41 20 | 6e 65 77 20 73 74 72 75 |..<P>.A |new stru|
|00000720| 63 74 75 72 65 20 63 61 | 6e 20 62 65 20 61 64 64 |cture ca|n be add|
|00000730| 65 64 20 6f 6e 74 6f 20 | 74 68 65 20 65 6e 64 20 |ed onto |the end |
|00000740| 6f 66 20 61 20 6c 69 73 | 74 2c 20 6f 72 20 69 66 |of a lis|t, or if|
|00000750| 20 74 68 65 20 6c 69 73 | 74 20 69 73 0a 65 6d 70 | the lis|t is.emp|
|00000760| 74 79 20 63 61 6e 20 62 | 65 20 73 65 74 20 61 73 |ty can b|e set as|
|00000770| 20 74 68 65 20 66 69 72 | 73 74 20 65 6c 65 6d 65 | the fir|st eleme|
|00000780| 6e 74 20 62 79 20 61 20 | 63 61 6c 6c 20 74 6f 0a |nt by a |call to.|
|00000790| 3c 63 6f 64 65 3e 6c 69 | 73 74 5f 72 63 68 61 6e |<code>li|st_rchan|
|000007a0| 5f 61 64 64 3c 2f 63 6f | 64 65 3e 2e 20 54 68 69 |_add</co|de>. Thi|
|000007b0| 73 20 69 73 20 64 65 66 | 69 6e 65 64 20 61 73 3a |s is def|ined as:|
|000007c0| 0a 3c 42 4c 4f 43 4b 51 | 55 4f 54 45 3e 0a 3c 41 |.<BLOCKQ|UOTE>.<A|
|000007d0| 20 49 44 3d 22 34 32 36 | 22 3e 3c 2f 41 3e 3c 2f | ID="426|"></A></|
|000007e0| 42 4c 4f 43 4b 51 55 4f | 54 45 3e 3c 50 52 45 3e |BLOCKQUO|TE><PRE>|
|000007f0| 0a 76 6f 69 64 20 6c 69 | 73 74 5f 72 63 68 61 6e |.void li|st_rchan|
|00000800| 5f 61 64 64 20 28 62 61 | 73 65 2c 20 6e 65 77 29 |_add (ba|se, new)|
|00000810| 0a 4c 49 53 54 5f 52 43 | 48 41 4e 20 2a 2a 62 61 |.LIST_RC|HAN **ba|
|00000820| 73 65 3b 0a 4c 49 53 54 | 5f 52 43 48 41 4e 20 2a |se;.LIST|_RCHAN *|
|00000830| 6e 65 77 3b 0a 3c 2f 50 | 52 45 3e 0a 0a 3c 50 3e |new;.</P|RE>..<P>|
|00000840| 0a 54 68 65 20 6c 69 6e | 6b 65 64 20 6c 69 73 74 |.The lin|ked list|
|00000850| 20 73 74 72 75 63 74 75 | 72 65 20 63 61 6e 20 62 | structu|re can b|
|00000860| 65 20 66 72 65 65 64 20 | 62 79 20 63 61 6c 6c 69 |e freed |by calli|
|00000870| 6e 67 0a 3c 63 6f 64 65 | 3e 6c 69 73 74 5f 72 63 |ng.<code|>list_rc|
|00000880| 68 61 6e 5f 66 72 65 65 | 3c 2f 63 6f 64 65 3e 2c |han_free|</code>,|
|00000890| 20 77 68 69 63 68 20 69 | 73 20 64 65 66 69 6e 65 | which i|s define|
|000008a0| 64 20 61 73 3a 0a 3c 42 | 4c 4f 43 4b 51 55 4f 54 |d as:.<B|LOCKQUOT|
|000008b0| 45 3e 0a 3c 41 20 49 44 | 3d 22 34 33 31 22 3e 3c |E>.<A ID|="431"><|
|000008c0| 2f 41 3e 3c 2f 42 4c 4f | 43 4b 51 55 4f 54 45 3e |/A></BLO|CKQUOTE>|
|000008d0| 3c 50 52 45 3e 0a 76 6f | 69 64 20 6c 69 73 74 5f |<PRE>.vo|id list_|
|000008e0| 72 63 68 61 6e 5f 66 72 | 65 65 20 28 6c 69 73 74 |rchan_fr|ee (list|
|000008f0| 29 0a 4c 49 53 54 5f 52 | 43 48 41 4e 20 2a 6c 69 |).LIST_R|CHAN *li|
|00000900| 73 74 3b 0a 3c 2f 50 52 | 45 3e 0a 0a 3c 50 3e 0a |st;.</PR|E>..<P>.|
|00000910| 54 77 6f 20 6f 74 68 65 | 72 20 75 73 65 66 75 6c |Two othe|r useful|
|00000920| 20 72 6f 75 74 69 6e 65 | 73 20 61 72 65 20 74 68 | routine|s are th|
|00000930| 6f 73 65 20 74 6f 20 63 | 6f 6e 76 65 72 74 20 61 |ose to c|onvert a|
|00000940| 20 73 74 72 69 6e 67 20 | 69 6e 74 6f 20 61 20 63 | string |into a c|
|00000950| 68 61 6e 6e 65 6c 0a 73 | 74 72 75 63 74 75 72 65 |hannel.s|tructure|
|00000960| 2e 20 54 68 65 20 66 69 | 72 73 74 20 6f 6e 65 20 |. The fi|rst one |
|00000970| 69 73 20 61 20 73 69 6d | 70 6c 65 20 73 74 72 69 |is a sim|ple stri|
|00000980| 6e 67 20 74 6f 20 73 74 | 72 75 63 74 75 72 65 20 |ng to st|ructure |
|00000990| 72 6f 75 74 69 6e 65 3a | 0a 3c 42 4c 4f 43 4b 51 |routine:|.<BLOCKQ|
|000009a0| 55 4f 54 45 3e 0a 3c 41 | 20 49 44 3d 22 34 33 36 |UOTE>.<A| ID="436|
|000009b0| 22 3e 3c 2f 41 3e 3c 2f | 42 4c 4f 43 4b 51 55 4f |"></A></|BLOCKQUO|
|000009c0| 54 45 3e 3c 50 52 45 3e | 0a 43 48 41 4e 20 2a 63 |TE><PRE>|.CHAN *c|
|000009d0| 68 5f 6e 6d 32 73 74 72 | 75 63 74 20 28 6e 61 6d |h_nm2str|uct (nam|
|000009e0| 65 29 0a 63 68 61 72 20 | 2a 6e 61 6d 65 3b 0a 3c |e).char |*name;.<|
|000009f0| 2f 50 52 45 3e 0a 54 68 | 69 73 20 63 6f 6e 76 65 |/PRE>.Th|is conve|
|00000a00| 72 74 73 20 66 72 6f 6d | 20 74 68 65 20 67 69 76 |rts from| the giv|
|00000a10| 65 6e 20 3c 63 6f 64 65 | 3e 6e 61 6d 65 3c 2f 63 |en <code|>name</c|
|00000a20| 6f 64 65 3e 20 69 6e 74 | 6f 20 61 20 63 68 61 6e |ode> int|o a chan|
|00000a30| 6e 65 6c 20 73 74 72 75 | 63 74 75 72 65 2c 20 6f |nel stru|cture, o|
|00000a40| 72 0a 72 65 74 75 72 6e | 73 20 3c 63 6f 64 65 3e |r.return|s <code>|
|00000a50| 4e 55 4c 4c 43 48 41 4e | 3c 2f 63 6f 64 65 3e 20 |NULLCHAN|</code> |
|00000a60| 69 66 20 74 68 65 72 65 | 20 69 73 20 6e 6f 20 6d |if there| is no m|
|00000a70| 61 74 63 68 2e 0a 0a 3c | 50 3e 0a 46 6f 72 20 69 |atch...<|P>.For i|
|00000a80| 6e 62 6f 75 6e 64 20 63 | 68 61 6e 6e 65 6c 73 20 |nbound c|hannels |
|00000a90| 77 68 65 6e 20 66 69 6c | 6c 69 6e 67 20 69 6e 20 |when fil|ling in |
|00000aa0| 74 68 65 20 71 75 65 75 | 65 20 73 74 72 75 63 74 |the queu|e struct|
|00000ab0| 75 72 65 20 77 69 74 68 | 20 69 6e 62 6f 75 6e 64 |ure with| inbound|
|00000ac0| 0a 70 61 72 61 6d 65 74 | 65 72 73 20 69 74 20 69 |.paramet|ers it i|
|00000ad0| 73 20 6e 65 63 65 73 73 | 61 72 79 20 66 69 72 73 |s necess|ary firs|
|00000ae0| 74 20 74 6f 20 61 6c 6c | 6f 63 61 74 65 20 61 20 |t to all|ocate a |
|00000af0| 63 68 61 6e 6e 65 6c 20 | 6c 69 73 74 20 77 69 74 |channel |list wit|
|00000b00| 68 20 6f 6e 65 0a 6f 66 | 20 74 68 65 20 61 62 6f |h one.of| the abo|
|00000b10| 76 65 20 66 75 6e 63 74 | 69 6f 6e 73 2c 20 62 75 |ve funct|ions, bu|
|00000b20| 74 20 6e 6f 74 20 74 6f | 20 66 69 6c 6c 20 69 6e |t not to| fill in|
|00000b30| 20 74 68 65 20 63 68 61 | 6e 6e 65 6c 20 70 61 72 | the cha|nnel par|
|00000b40| 74 20 6f 66 20 69 74 2e | 0a 54 68 69 73 20 73 68 |t of it.|.This sh|
|00000b50| 6f 75 6c 64 20 62 65 20 | 66 69 6c 6c 65 64 20 69 |ould be |filled i|
|00000b60| 6e 20 77 69 74 68 20 74 | 68 65 20 72 6f 75 74 69 |n with t|he routi|
|00000b70| 6e 65 3a 0a 3c 42 4c 4f | 43 4b 51 55 4f 54 45 3e |ne:.<BLO|CKQUOTE>|
|00000b80| 0a 3c 41 20 49 44 3d 22 | 34 34 31 22 3e 3c 2f 41 |.<A ID="|441"></A|
|00000b90| 3e 3c 2f 42 4c 4f 43 4b | 51 55 4f 54 45 3e 3c 50 |></BLOCK|QUOTE><P|
|00000ba0| 52 45 3e 0a 43 48 41 4e | 20 2a 63 68 5f 6d 74 61 |RE>.CHAN| *ch_mta|
|00000bb0| 32 73 74 72 75 63 74 20 | 28 6e 61 6d 65 2c 20 6d |2struct |(name, m|
|00000bc0| 74 61 29 0a 63 68 61 72 | 20 2a 6e 61 6d 65 2c 20 |ta).char| *name, |
|00000bd0| 2a 6d 74 61 3b 0a 3c 2f | 50 52 45 3e 0a 54 68 69 |*mta;.</|PRE>.Thi|
|00000be0| 73 20 72 6f 75 74 69 6e | 65 20 72 65 74 75 72 6e |s routin|e return|
|00000bf0| 73 20 61 20 63 68 61 6e | 6e 65 6c 20 73 74 72 75 |s a chan|nel stru|
|00000c00| 63 74 75 72 65 20 62 61 | 73 65 64 20 6f 6e 20 61 |cture ba|sed on a|
|00000c10| 20 6e 61 6d 65 20 61 6e | 64 20 61 6e 20 4d 54 41 | name an|d an MTA|
|00000c20| 2e 0a 54 68 69 73 20 61 | 6c 6c 6f 77 73 20 74 68 |..This a|llows th|
|00000c30| 65 20 70 61 72 74 69 63 | 75 6c 61 72 20 63 68 61 |e partic|ular cha|
|00000c40| 6e 6e 65 6c 20 74 6f 20 | 62 65 20 73 65 6c 65 63 |nnel to |be selec|
|00000c50| 74 65 64 20 64 65 70 65 | 6e 64 61 6e 74 20 75 70 |ted depe|ndant up|
|00000c60| 6f 6e 20 74 68 65 0a 4d | 54 41 20 74 68 65 20 6d |on the.M|TA the m|
|00000c70| 65 73 73 61 67 65 20 69 | 73 20 72 65 63 65 69 76 |essage i|s receiv|
|00000c80| 65 64 20 66 72 6f 6d 2e | 20 54 68 69 73 20 61 6c |ed from.| This al|
|00000c90| 6c 6f 77 73 20 74 68 65 | 20 63 68 61 6e 6e 65 6c |lows the| channel|
|00000ca0| 20 70 61 69 72 69 6e 67 | 20 74 6f 0a 74 61 6b 65 | pairing| to.take|
|00000cb0| 20 70 6c 61 63 65 2e 0a | 0a 3c 50 3e 0a 0a 3c 48 | place..|.<P>..<H|
|00000cc0| 52 3e 0a 0a 3c 2f 42 4f | 44 59 3e 0a 3c 2f 48 54 |R>..</BO|DY>.</HT|
|00000cd0| 4d 4c 3e 0a | |ML>. | |
+--------+-------------------------+-------------------------+--------+--------+